﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PRO.ORM;
using System.Data;

namespace PRO.Entity
{
    [Entity(TableName = "Pro_User")]
    public class UserInfo : BaseEntity
    {
        private int _ID;
        [EntityAttribute(SqlDbType = SqlDbType.Int, Len = 4, PrimaryKey = true)]
        public int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }
        private string _UserName;
        [EntityAttribute(SqlDbType = SqlDbType.NVarChar, Len = 50)]
        public string UserName
        {
            get { return _UserName; }
            set { _UserName = value; }
        }
        private string _Pwd;
        [EntityAttribute(SqlDbType = SqlDbType.NVarChar, Len = 100)]
        public string Pwd
        {
            get { return _Pwd; }
            set { _Pwd = value; }
        }
        private string _Nick;
        [EntityAttribute(SqlDbType = SqlDbType.NVarChar, Len = 18)]
        public string Nick
        {
            get { return _Nick; }
            set { _Nick = value; }
        }
        private DateTime _RegDate;
        [EntityAttribute(SqlDbType = SqlDbType.DateTime, Len = 8)]
        public DateTime RegDate
        {
            get { return _RegDate; }
            set { _RegDate = value; }
        }

    }
}
